package com.weasing.res.domain;

import java.sql.Timestamp;

/**
 * WxAnswer entity. @author MyEclipse Persistence Tools
 */

public class WxAnswer implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer qid;
	private String acontent;
	private Integer asorts;
	private Integer nextqid;
	private Short score;
	private Short onlyone;
	private Timestamp createtime;
	private String relationaids;

	// Constructors

	/** default constructor */
	public WxAnswer() {
	}

	/** minimal constructor */
	public WxAnswer(Timestamp createtime) {
		this.createtime = createtime;
	}

	/** full constructor */
	public WxAnswer(Integer qid, String acontent, Integer asorts,
			Integer nextqid, Short score, Short onlyone, Timestamp createtime,
			String relationaids) {
		this.qid = qid;
		this.acontent = acontent;
		this.asorts = asorts;
		this.nextqid = nextqid;
		this.score = score;
		this.onlyone = onlyone;
		this.createtime = createtime;
		this.relationaids = relationaids;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getQid() {
		return this.qid;
	}

	public void setQid(Integer qid) {
		this.qid = qid;
	}

	public String getAcontent() {
		return this.acontent;
	}

	public void setAcontent(String acontent) {
		this.acontent = acontent;
	}

	public Integer getAsorts() {
		return this.asorts;
	}

	public void setAsorts(Integer asorts) {
		this.asorts = asorts;
	}

	public Integer getNextqid() {
		return this.nextqid;
	}

	public void setNextqid(Integer nextqid) {
		this.nextqid = nextqid;
	}

	public Short getScore() {
		return this.score;
	}

	public void setScore(Short score) {
		this.score = score;
	}

	public Short getOnlyone() {
		return this.onlyone;
	}

	public void setOnlyone(Short onlyone) {
		this.onlyone = onlyone;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public String getRelationaids() {
		return this.relationaids;
	}

	public void setRelationaids(String relationaids) {
		this.relationaids = relationaids;
	}

}